-
Home
-
WP Travel Engine – Tour Booking Plugin – Tour Operator Software
-
6.1.1
-
Code
-
Classes
- Cart
Total Complexity |
83 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
812 |
Lines of code |
328 |
Logical lines of code |
202 |
Comment lines |
330 |
Methods |
47 |
Properties |
13 |
Methods 47
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
read() |
A |
49 |
7 |
31 |
add() |
S |
45 |
6 |
42 |
calculate_discount() |
S |
53 |
7 |
23 |
update() |
S |
55 |
5 |
21 |
write() |
S |
56 |
3 |
18 |
apply_tax() |
S |
70 |
3 |
6 |
calculate_totals() |
S |
58 |
2 |
15 |
get_cart_coupon_value() |
S |
70 |
3 |
5 |
get_cart_coupon_type() |
S |
70 |
3 |
5 |
get_cart_coupon_name() |
S |
70 |
3 |
5 |
get_totals() |
S |
79 |
2 |
3 |
getItems() |
S |
79 |
2 |
3 |
get_formated_items() |
S |
68 |
2 |
7 |
get_attribute() |
S |
71 |
2 |
6 |
get_total() |
S |
59 |
1 |
13 |
get_discount_amount() |
S |
78 |
1 |
3 |
get_total_partial() |
S |
80 |
1 |
3 |
get_subtotal() |
S |
78 |
1 |
3 |
get_discount_total() |
S |
78 |
1 |
3 |
__construct() |
S |
75 |
1 |
4 |
get_due_total() |
S |
80 |
1 |
3 |
get_cart_total() |
S |
80 |
1 |
3 |
get_extra_services_totals() |
S |
67 |
1 |
9 |
discount_clear() |
S |
77 |
1 |
4 |
tax() |
S |
82 |
1 |
3 |
get_payment_type() |
S |
82 |
1 |
3 |
get_booking_ref() |
S |
82 |
1 |
3 |
get_cart_trip_ids() |
S |
79 |
1 |
3 |
set_attribute() |
S |
76 |
1 |
4 |
apply_discounts() |
S |
80 |
1 |
3 |
add_discount_values() |
S |
66 |
1 |
8 |
get_cart_key() |
S |
82 |
1 |
3 |
output() |
S |
75 |
1 |
4 |
reset_totals() |
S |
81 |
1 |
3 |
set_payment_type() |
S |
81 |
1 |
3 |
set_booking_ref() |
S |
81 |
1 |
3 |
update_cart() |
S |
82 |
1 |
3 |
has_discounts() |
S |
80 |
1 |
3 |
remove() |
S |
73 |
1 |
5 |
get_discounts() |
S |
82 |
1 |
3 |
cart_empty_message() |
S |
67 |
1 |
8 |
clear() |
S |
66 |
1 |
9 |
get_attributes() |
S |
82 |
1 |
3 |
set_attributes() |
S |
77 |
1 |
4 |
get_cart_id() |
S |
82 |
1 |
3 |
read_cart_onload() |
S |
82 |
1 |
3 |
is_loaded_from_booking() |
S |
80 |
1 |
3 |